package com.wanxi.innerclass;

public class OutClass {
    private static Integer age;
    private String name;

    {

    }

    static {

    }

    public OutClass() {

    }

    public void run() {
        System.out.println(name);
//        InnerClass innerClass = new InnerClass();
////        innerClass.innerName;
//        innerClass.sleep();
//        InnerClass.staticAge;
        String bb = null;
        {
            String cc;

        }
        class methodInnerClass {
            private String aa;

            private void aa() {
                System.out.println(name);
            }
        }
    }

    class InnerClass {
        public String innerName;
        public Integer staticAge;

        public void sleep() {
            OutClass outClass = new OutClass();
            System.out.println(outClass.name);
        }
    }
}
